<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>贷款页面</title>
<style type="text/css">
body {
	background-color:#D7F0F5;

}
<!--
.STYLE5 {font-size: 9}
.STYLE8 {font-size: 9px}
-->
</style>
</head>
          
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-repeat:repeat-x; background-position:top; height:100%; background-image:url(images/til_1.jpg) ">
  <tr>
    <td style="background-image:url(images/til_1.gif); background-position:top; background-repeat:repeat-x ">&nbsp;</td>
    <td width="1000" align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="36" align="left" valign="top"><img alt="" src="images/spacer.gif" width="1" height="36"></td>
      </tr>
      <tr>
        <td height="270" align="left" valign="top">
        <%@include file="topFrame.jsp" %>        
        </td>
      </tr>
      <tr>
        <td align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr align="left" valign="top">
            <td width="3" style="background-image:url(images/rep_1.jpg) "><img alt="" src="images/rep_1.jpg" width="3" height="1"></td>
            <td bgcolor="#FFFFFF"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#AEE6F0" style="height:100% ">
              <tr>
                <td height="60" align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0" style="background-image:url(images/rep_3.jpg) ">
                    <tr align="left" valign="top">
                      <td><div style="padding-left:20px; padding-top:14px">
                          <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                            <tr align="left" valign="middle">
                              <td width="43"><img alt="" src="images/p_1.jpg" width="32" height="32"></td>
                              <td>已检验的贷款：</td>
                            </tr>
                          </table>
                      </div></td>
                      <td width="7"><img alt="" src="images/p_2.jpg" width="7" height="60"></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td height="100%" valign="top" class="style2"><div style="padding-left:20px; padding-top:20px; line-height:14px; padding-bottom:0px; padding-right:15px"></div>
                
&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; 
<s:property value="title"/>
<table width="395" border="1" align="center">
  <tr>
    <th width="56" height="34" class="STYLE5" scope="col"><span class="style2 STYLE8">贷款编号</span></th>
    <th width="57" class="STYLE5" scope="col"><span class="style2 STYLE8">公司名称</span></th>
    <th width="61" class="STYLE5" scope="col"><span class="style2 STYLE8">时间</span></th>
    <th width="55" class="STYLE5" scope="col"><span class="style2 STYLE8">金额</span></th>
  </tr>
  <s:iterator value="page.list" id="list">
                            <tr valign="middle" class="style2">
                                <td width="80" height="24" align="left"><div align="center"><a href="reportInfo?loanId=<s:property value="#list.loanId"/>" target="_top"><s:property value="#list.loanId" /></a>
                                </div></td>
                                <td width="80" height="24" align="left"><div align="center"><s:property value="#list.company.name" />
                                </div></td>
                              <td width="80" height="24" align="left"><div align="center"><s:property value="#list.date" />
                              </div></td>
                              <td width="102" align="left"><div align="center"><s:property value="#list.amount" />
                              </div></td>
                            </tr>
                              </s:iterator>
  <tr>
 	<td colspan="4">
 		共<s:property value="page.allRow"/> 条记录
        共<s:property value="page.totalPage"/> 页
        当前第<s:property value="page.currentPage"/>页<br/>
        <s:if test="%{page.currentPage == 1}">
            第一页 上一页
        </s:if>
        <s:else>
            <a href="loanPage?status=<s:property value="status"/>&currentPage=1">第一页</a>
            <a href="loanPage?status=<s:property value="status"/>&currentPage=<s:property value="%{page.currentPage-1}"/>">上一页</a>
        </s:else>
        <s:if test="%{page.currentPage lt page.totalPage}">
            <a href="loanPage?status=<s:property value="status"/>&currentPage=<s:property value="%{page.currentPage+1}"/>">下一页</a>
            <a href="loanPage?status=<s:property value="status"/>&currentPage=<s:property value="page.totalPage"/>">最后一页</a>
        </s:if>
        <s:else>
            下一页 最后一页
        </s:else>	
 	</td> 
  </tr>
</table>
<td width="2" style="background-repeat:repeat-y; background-image:url(images/rep_2.jpg) "><img alt="" src="images/rep_2.jpg" width="2" height="1"></td>
<tr>
        <td height="62" align="left" valign="top" style="background-image:url(images/bottom_1.jpg) "><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr align="left" valign="top">
            <td width="585"><div style="padding-left:23px; padding-top:23px"><span class="style1">2011 Copyright X-Rovers. <a href="index-6.html" class="style1">All rights reserved.</a></span></div></td>
            <td><div style="padding-left:0px; padding-top:17px"><a href="index.html"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;  &nbsp;  &nbsp; <a href="index.html"><img alt="" src="images/logo.jpg" width="84" height="26" border="0"></a></div></td>
          </tr>
          <td style="background-image:url(images/til_1.gif); background-position:top; background-repeat:repeat-x ">&nbsp;</td>          
</body>
</html>
